import Vue from 'vue'
import App from './App.vue'
import router from "./router/index.js"
import store from "@/store";
import toast from "@/components/common/toast";
import Fastclick from "fastclick"
import VueLazyload from "vue-lazyload";
// 在main.js中引入 swiper.css
Fastclick.attach(document.body)
Vue.use(toast)
Vue.use(VueLazyload,{
    loading:require('./assets/img/common/placeholder.png')
})
Vue.prototype.$bus=new Vue()
Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router:router,
  store:store
}).$mount('#app')

// npm install vue-lazyload@1.3.3 -S
// npm install postcss-px-to-viewport -S

